{**************************************************************
Smarty-Template: Bereichsseite für alle "Sektionen"

$Rev: 66 $
$Author: knwetzig $
$Date: 2014-07-07 12:57:49 +0000 (Mon, 07 Jul 2014) $
$URL: http://diafip.googlecode.com/svn/branches/v2/templates/main_bereich.tpl $

***** (c) DIAF e.V. *******************************************}

<div class='bereich'>{$dialog['bereich'][1]}</div>
{if isset($dialog['sstring'])}
<div id='bereichssuche'>
    <form action='{$dlg['phpself']}' method='post'>
        <input
        type='text'
        name='sstring'
        value="{$dialog['sstring'][1]}"
        onfocus="if(this.value=='{$dialog['sstring'][1]}'){literal}{this.value='';}{/literal}"
        />
        <input
        type='hidden'
        name='sektion'
        value='{$sektion}'
        />
        <input
        type='hidden'
        name='aktion'
        value='search'
        />
    </form>
</div>
{/if}

<div id='bereichssymbole'>
{if isset($dialog['add'])}
    <form action='{$dlg['phpself']}' method='post'>
    {if isset($dialog['extra'])}
            <button
                class='small'
                name='aktion'
                value='extra'
                onmouseover="return overlib('{$dialog['extra'][3]}', DELAY, 1000);"
                onmouseout="return nd();"
            >{$dialog['extra'][1]}</button>
    {/if}
        <button
            class='small'
            name='aktion'
            value='add'
            onmouseover="return overlib('{$dialog['add'][3]}', DELAY, 1000);"
            onmouseout="return nd();"
        ><img src='images/add.png' /></button>
        <input
            type='hidden'
            name='form'
            value='true'
        />
        <input
        type="hidden"
        name="sektion"
        value="{$dialog['sektion'][1]}"
        />
    </form>
{/if}
</div>

<div class='bereich_fuss'></div>